tests/installed: Use temporary directories more consistently
authorColin Walters <walters@verbum.org>
Thu, 22 Mar 2018 15:36:33 +0000 (11:36 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Thu, 22 Mar 2018 19:01:52 +0000 (19:01 +0000)
commitbb9cd1eb7213180ceaa1c913b9565f97e08331cc
tree3a0724c09d36427c6202e97a04ad5a26842ca728
parentdca1cfa60f96619ec84c6dacb9b8f40d2ba7031a
tests/installed: Use temporary directories more consistently

This is prep for splitting off "nondestructive" tests which
we can run in parallel from the destructive/invasive ones which
e.g. change the host refspec, do deployments.

The `cd` invocation in `prepare_tmpdir` wasn't working because we were running
it in a subshell. Fix this by dropping the subshell.

Closes: #1509
Approved by: jlebon
tests/installed/itest-bare-unit.sh
tests/installed/itest-bareuser-nouserxattrs.sh
tests/installed/itest-payload-link.sh
tests/installed/itest-pull-space.sh
tests/installed/itest-pull.sh
tests/installed/itest-remotes.sh
tests/installed/libinsttest.sh